const finalRegistry = new FinalizationRegistry((v) => {
  console.log('注册在finalRegistry的对象，某一个被销毁了', v)
})
let obj = {name: 'k'}
finalRegistry.register(obj, 'obj value')
obj = null
